Always generate a lockfile with dev-dependencies
authorAlex Crichton <alex@alexcrichton.com>
Sun, 17 Aug 2014 05:38:32 +0000 (22:38 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 17 Aug 2014 05:38:32 +0000 (22:38 -0700)
commit8626fa725dbf72efbd936c7290a089f70a775a83
tree33910f42cb9313ce51964493802caae802d696c2
parent51de050e6c67ca9bcfe7e85822e8a3a936378497
Always generate a lockfile with dev-dependencies

Previously an invocation of `cargo build` would generate a lockfile *without*
dev dependencies, but an invocation of `cargo test` would generate a lockfile
*with* dependencies. This causes odd problems and diffs with the lockfile.

This commit switches the resolve-to-be-a-lockfile to using all dependencies of a
package, while the resolve-to-be-compiled continues to use just the dependencies
needed for the current build.
src/cargo/ops/cargo_compile.rs
tests/test_cargo_compile_git_deps.rs